package cn.mumzone.pos.model;

import java.util.List;

/**
 * Created By Dlx
 * on 2019/10/10
 */
public class WarehouseDetailEntity {

    /**
     * shopId : 商品id
     * shopName : 商户名称
     * orderDate : 单据日期
     * userName : 创建人
     * inAmount : 入库总金额
     * remark : 备注
     * goodsList : [{"goodsId":"商品id","goodsName":"商品名称","goodsBatchNumList":[{"goodsBatchNumber":"","dateInProduced":"","goodsNum":"","goodsPrice":"","goodsUnit":""}],"goodsSpec":"","isBatch":""}]
     * inType : '入库类型: 0-其它入库，1-采购入库，2-盘盈出库，3-调拨入库,4-POS退货入库',
     * inStatus :
     * id : 入库单id
     * outCode :
     * headUrl :
     */

    private String shopId;
    private String shopName;  //供应商名
    private String orderDate;  //收货日期，前台做了一次转换
    private String createTime; //单据日期
    private String userName;
    private String inAmount;
    private String remark;
    private String inType;
    private String inStatus;
    private String id;
    private String inCode;
    private String outCode;
    private String headUrl;
    private String warehouseName;
    private String purchaseCode;//来源单号
    private String orderPurchaseId;
    private List<GoodsListBean> goodsList;

    public String getPurchaseCode() {
        return purchaseCode;
    }

    public void setPurchaseCode(String purchaseCode) {
        this.purchaseCode = purchaseCode;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getOrderPurchaseId() {
        return orderPurchaseId;
    }

    public void setOrderPurchaseId(String orderPurchaseId) {
        this.orderPurchaseId = orderPurchaseId;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public String getInCode() {
        return inCode;
    }

    public void setInCode(String inCode) {
        this.inCode = inCode;
    }

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(String orderDate) {
        this.orderDate = orderDate;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getInAmount() {
        return inAmount;
    }

    public void setInAmount(String inAmount) {
        this.inAmount = inAmount;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getInType() {
        return inType;
    }

    public void setInType(String inType) {
        this.inType = inType;
    }

    public String getInStatus() {
        return inStatus;
    }

    public void setInStatus(String inStatus) {
        this.inStatus = inStatus;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOutCode() {
        return outCode;
    }

    public void setOutCode(String outCode) {
        this.outCode = outCode;
    }

    public String getHeadUrl() {
        return headUrl;
    }

    public void setHeadUrl(String headUrl) {
        this.headUrl = headUrl;
    }

    public List<GoodsListBean> getGoodsList() {
        return goodsList;
    }

    public void setGoodsList(List<GoodsListBean> goodsList) {
        this.goodsList = goodsList;
    }

    public static class GoodsListBean {
        /**
         * goodsId : 商品id
         * goodsName : 商品名称
         * goodsBatchNumList : [{"goodsBatchNumber":"","dateInProduced":"","goodsNum":"","goodsPrice":"","goodsUnit":""}]
         * goodsSpec :
         * isBatch :
         */

        private String goodsId;
        private String goodsName;
        private String goodsSpec;
        private int isBatch;
        private List<GoodsBatchNumListBean> goodsBatchNumList;

        public String getGoodsId() {
            return goodsId;
        }

        public void setGoodsId(String goodsId) {
            this.goodsId = goodsId;
        }

        public String getGoodsName() {
            return goodsName;
        }

        public void setGoodsName(String goodsName) {
            this.goodsName = goodsName;
        }

        public String getGoodsSpec() {
            return goodsSpec;
        }

        public void setGoodsSpec(String goodsSpec) {
            this.goodsSpec = goodsSpec;
        }

        public int getIsBatch() {
            return isBatch;
        }

        public void setIsBatch(int isBatch) {
            this.isBatch = isBatch;
        }

        public List<GoodsBatchNumListBean> getGoodsBatchNumList() {
            return goodsBatchNumList;
        }

        public void setGoodsBatchNumList(List<GoodsBatchNumListBean> goodsBatchNumList) {
            this.goodsBatchNumList = goodsBatchNumList;
        }

        public static class GoodsBatchNumListBean {
            /**
             * goodsBatchNumber :
             * dateInProduced :
             * goodsNum :
             * goodsPrice :
             * goodsUnit :
             */

            private String goodsBatchNumber;
            private String dateInProduced;
            private String goodsNum;
            private String goodsPrice;
            private String goodsUnit;

            public String getGoodsBatchNumber() {
                return goodsBatchNumber;
            }

            public void setGoodsBatchNumber(String goodsBatchNumber) {
                this.goodsBatchNumber = goodsBatchNumber;
            }

            public String getDateInProduced() {
                return dateInProduced;
            }

            public void setDateInProduced(String dateInProduced) {
                this.dateInProduced = dateInProduced;
            }

            public String getGoodsNum() {
                return goodsNum;
            }

            public void setGoodsNum(String goodsNum) {
                this.goodsNum = goodsNum;
            }

            public String getGoodsPrice() {
                return goodsPrice;
            }

            public void setGoodsPrice(String goodsPrice) {
                this.goodsPrice = goodsPrice;
            }

            public String getGoodsUnit() {
                return goodsUnit;
            }

            public void setGoodsUnit(String goodsUnit) {
                this.goodsUnit = goodsUnit;
            }
        }
    }
}
